package com.ws.entity;


import java.util.Scanner;

/**
 * @author 王硕
 * @version jdk21
 * @className userModule
 * @description
 * @date 2024/11/5 14:03
 */
public class userModule {

    public userInfo addUser(){
            int id=1001;
            Scanner scanner = new Scanner(System.in);
            System.out.println("请输入账号");
            String name = scanner.next();
            System.out.println("请输入密码");
            String password = scanner.next();
            System.out.println("请输入性别");
            String gendr = scanner.next();
            return new userInfo(id,name,password,gendr);
    }


}
